Optimal. Leaf size=139 \[ \frac{\sqrt{a} \tan ^{-1}\left (\frac{\sqrt [4]{b} \cosh (c+d x)}{\sqrt{\sqrt{a}-\sqrt{b}}}\right )}{2 b^{5/4} d \sqrt{\sqrt{a}-\sqrt{b}}}+\frac{\sqrt{a} \tanh ^{-1}\left (\frac{\sqrt [4]{b} \cosh (c+d x)}{\sqrt{\sqrt{a}+\sqrt{b}}}\right )}{2 b^{5/4} d \sqrt{\sqrt{a}+\sqrt{b}}}-\frac{\cosh (c+d x)}{b d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.197599, antiderivative size = 139, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.208, Rules used = {3215, 1170, 1093, 205, 208} \[ \frac{\sqrt{a} \tan ^{-1}\left (\frac{\sqrt [4]{b} \cosh (c+d x)}{\sqrt{\sqrt{a}-\sqrt{b}}}\right )}{2 b^{5/4} d \sqrt{\sqrt{a}-\sqrt{b}}}+\frac{\sqrt{a} \tanh ^{-1}\left (\frac{\sqrt [4]{b} \cosh (c+d x)}{\sqrt{\sqrt{a}+\sqrt{b}}}\right )}{2 b^{5/4} d \sqrt{\sqrt{a}+\sqrt{b}}}-\frac{\cosh (c+d x)}{b d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3215
Rule 1170
Rule 1093
Rule 205
Rule 208
Rubi steps
\begin{align*} \int \frac{\sinh ^5(c+d x)}{a-b \sinh ^4(c+d x)} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{\left (1-x^2\right )^2}{a-b+2 b x^2-b x^4} \, dx,x,\cosh (c+d x)\right )}{d}\\ &=\frac{\operatorname{Subst}\left (\int \left (-\frac{1}{b}+\frac{a}{b \left (a-b+2 b x^2-b x^4\right )}\right ) \, dx,x,\cosh (c+d x)\right )}{d}\\ &=-\frac{\cosh (c+d x)}{b d}+\frac{a \operatorname{Subst}\left (\int \frac{1}{a-b+2 b x^2-b x^4} \, dx,x,\cosh (c+d x)\right )}{b d}\\ &=-\frac{\cosh (c+d x)}{b d}-\frac{\sqrt{a} \operatorname{Subst}\left (\int \frac{1}{-\sqrt{a} \sqrt{b}+b-b x^2} \, dx,x,\cosh (c+d x)\right )}{2 \sqrt{b} d}+\frac{\sqrt{a} \operatorname{Subst}\left (\int \frac{1}{\sqrt{a} \sqrt{b}+b-b x^2} \, dx,x,\cosh (c+d x)\right )}{2 \sqrt{b} d}\\ &=\frac{\sqrt{a} \tan ^{-1}\left (\frac{\sqrt [4]{b} \cosh (c+d x)}{\sqrt{\sqrt{a}-\sqrt{b}}}\right )}{2 \sqrt{\sqrt{a}-\sqrt{b}} b^{5/4} d}+\frac{\sqrt{a} \tanh ^{-1}\left (\frac{\sqrt [4]{b} \cosh (c+d x)}{\sqrt{\sqrt{a}+\sqrt{b}}}\right )}{2 \sqrt{\sqrt{a}+\sqrt{b}} b^{5/4} d}-\frac{\cosh (c+d x)}{b d}\\ \end{align*}
Mathematica [C] time = 0.259954, size = 235, normalized size = 1.69 \[ -\frac{a \text{RootSum}\left [-16 \text{$\#$1}^4 a+\text{$\#$1}^8 b-4 \text{$\#$1}^6 b+6 \text{$\#$1}^4 b-4 \text{$\#$1}^2 b+b\& ,\frac{2 \text{$\#$1}^3 \log \left (-\text{$\#$1} \sinh \left (\frac{1}{2} (c+d x)\right )+\text{$\#$1} \cosh \left (\frac{1}{2} (c+d x)\right )-\sinh \left (\frac{1}{2} (c+d x)\right )-\cosh \left (\frac{1}{2} (c+d x)\right )\right )+\text{$\#$1}^3 c+\text{$\#$1}^3 d x-2 \text{$\#$1} \log \left (-\text{$\#$1} \sinh \left (\frac{1}{2} (c+d x)\right )+\text{$\#$1} \cosh \left (\frac{1}{2} (c+d x)\right )-\sinh \left (\frac{1}{2} (c+d x)\right )-\cosh \left (\frac{1}{2} (c+d x)\right )\right )-\text{$\#$1} c-\text{$\#$1} d x}{-8 \text{$\#$1}^2 a+\text{$\#$1}^6 b-3 \text{$\#$1}^4 b+3 \text{$\#$1}^2 b-b}\& \right ]+2 \cosh (c+d x)}{2 b d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.048, size = 175, normalized size = 1.3 \begin{align*} -{\frac{1}{bd} \left ( \tanh \left ({\frac{dx}{2}}+{\frac{c}{2}} \right ) +1 \right ) ^{-1}}-{\frac{a}{2\,bd}\arctan \left ({\frac{1}{4} \left ( -2\, \left ( \tanh \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}a+4\,\sqrt{ab}+2\,a \right ){\frac{1}{\sqrt{-ab-\sqrt{ab}a}}}} \right ){\frac{1}{\sqrt{-ab-\sqrt{ab}a}}}}+{\frac{a}{2\,bd}\arctan \left ({\frac{1}{4} \left ( 2\, \left ( \tanh \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}a+4\,\sqrt{ab}-2\,a \right ){\frac{1}{\sqrt{-ab+\sqrt{ab}a}}}} \right ){\frac{1}{\sqrt{-ab+\sqrt{ab}a}}}}+{\frac{1}{bd} \left ( \tanh \left ({\frac{dx}{2}}+{\frac{c}{2}} \right ) -1 \right ) ^{-1}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\frac{{\left (e^{\left (2 \, d x + 2 \, c\right )} + 1\right )} e^{\left (-d x - c\right )}}{2 \, b d} - \frac{1}{32} \, \int \frac{256 \,{\left (a e^{\left (5 \, d x + 5 \, c\right )} - a e^{\left (3 \, d x + 3 \, c\right )}\right )}}{b^{2} e^{\left (8 \, d x + 8 \, c\right )} - 4 \, b^{2} e^{\left (6 \, d x + 6 \, c\right )} - 4 \, b^{2} e^{\left (2 \, d x + 2 \, c\right )} + b^{2} - 2 \,{\left (8 \, a b e^{\left (4 \, c\right )} - 3 \, b^{2} e^{\left (4 \, c\right )}\right )} e^{\left (4 \, d x\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.11141, size = 2755, normalized size = 19.82 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: NotImplementedError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]